import { createRouter, createWebHistory } from 'vue-router'
import Home from '../pages/Home.vue'
import Report from '../pages/Report.vue'
import Knowledge from '../pages/Knowledge.vue'
import Database from '../pages/Database.vue'
import Agent from '../pages/Agent.vue'
import Cases from '../pages/Cases.vue'
import Chat from '../pages/Chat.vue'
import QuickAccess from '../pages/QuickAccess.vue'
import Settings from '../pages/Settings.vue'
import AiAgentManagement from '../pages/AiAgentManagement.vue'
import Topology from '../pages/Topology.vue'

const routes = [
  { path: '/', name: 'Home', component: Home },
  { path: '/report', name: 'Report', component: Report },
  { path: '/knowledge', name: 'Knowledge', component: Knowledge },
  { path: '/database', name: 'Database', component: Database },
  { path: '/agent', name: 'Agent', component: Agent },
  { path: '/cases', name: 'Cases', component: Cases },
  { path: '/chat', name: 'Chat', component: Chat },
  { path: '/quick-access', name: 'QuickAccess', component: QuickAccess },
  { path: '/settings', name: 'Settings', component: Settings },
  { path: '/ai-agent', name: 'AiAgentManagement', component: AiAgentManagement },
  { path: '/topology', name: 'Topology', component: Topology }
]

const router = createRouter({
  history: createWebHistory(),
  routes,
})

export default router
